package com.springboot.pipeline;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dapeng.qiu
 */

@RestController
@SpringBootApplication
public class SpringbootPipeLineApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootPipeLineApplication.class, args);
    }

    @RequestMapping("/")
    public String index(){
        return "欢迎访问 springboot-pipeline";
    }
}
